public class zuidashu { 
public static void main(String[] args) { 
int a=1,b=2,c=3,d=0; 
d=a>b?a:b;  
d=a>b?(a>c?a:c):(b>c?b:c); 
System.out.println("最多数为："+d);   
} 
} 
